/**
 * 
 */
package edu.zut.hb.software.sample.base.service;

import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;

import java.io.Serializable;
import java.util.List;

import edu.zut.hb.software.sample.base.domain.BaseTreeEntity;

/**
 * @author Mie
 *
 */
public abstract class GenericTreeManagerTestCase<PK extends Serializable, T extends BaseTreeEntity<T, PK>, M extends GenericTreeManager<T, PK>> 
extends BaseManagerTestCase<PK,T,M>{
	/**
	 * Logger for this class
	 */
	private static final Logger logger = LogManager.getLogger(GenericTreeManagerTestCase.class.getName());

	public GenericTreeManagerTestCase(Class<T> persistentClass) {
		super(persistentClass);		
	}
	public void testGetRoot() {
		List<T> result=this.manager.getRoot();
		if (logger.isInfoEnabled()) {
			logger.info("testGetRoot() - List<T> result={}", result); //$NON-NLS-1$
		}
		
	}

}
